import request from "@/utils/request";

// 查询列表
export function listStaffMember(query) {
  return request({
    url: "/decor/designer/list",
    method: "get",
    params: query,
  });
}

// 查询详细
export function getStaffMember(couponId) {
  return request({
    url: "/decor/designer/" + couponId,
    method: "get",
  });
}

// 修改
export function updateStaffMember(data) {
  return request({
    url: "/decor/designer",
    method: "put",
    data: data,
  });
}

// 删除
export function delStaffMember(couponId) {
  return request({
    url: "/decor/designer/" + couponId,
    method: "delete",
  });
}